package com.tom.architect02.mnbase.annotation.fs;


import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

import com.tom.architect02.R;

import androidx.appcompat.app.AppCompatActivity;


public class MainActivity extends AppCompatActivity {
    Button btn1;
    Button btn2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        btn1 = findViewById(R.id.btn1);
//        btn1.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//            }
//        });
        InjectUtils.inject(this);
    }

//    @OnClick({R.id.btn1, R.id.btn2})
    public void abc(View view) {
        Toast.makeText(this, "clickEvent", Toast.LENGTH_SHORT).show();
    }
//    @OnLongClick(R.id.btn2)
//    public boolean longClick(View view) {
//        Toast.makeText(this, "长按2",Toast.LENGTH_SHORT).show();
//        return false;
//    }

}



